//
//  Circle.m
//  day1-demo3类的继承
//
//  Created by Maggie on 15/8/1.
//  Copyright (c) 2015年 fmning. All rights reserved.
//

#import "Circle.h"

@implementation Circle

-(Circle *)initWithColor:(NSString *)color andRadius:(float)radius{
    self = [super initWithColor:color];
    if (self) {
        self.radius = radius;
    }
    return self;
}

//重写父类的draw方法
-(void)draw{
    NSLog(@"Circle is drawing");
}

@end





